abstract class $REAL_NUMBER{NTP} < $NUMBER{NTP}
****
In addition to generic number properties, defines functions that are applicable to floating point values


Ancestors
$NUMBER{_} $NFE{_} $IS_EQ $STR
$NIL $IS_NIL $IS_LT{_}

Descendants
FLTD FLT



Public


Features
acos:SAME;
**** The arc cosine of self in the range [0.0 to pi]
asin:SAME;
**** The arc cosine of self in the range [0.0 to pi]
atan2(arg: NTP): SAME;
**** The arc tangent of self divided by arg in the range [-pi/2, pi/2]. It chooses the quadrant specified by (self, arg).
cos: NTP;
**** Return the cosine of self
exp:NTP;
**** Return the exponent of the number
is_nan: BOOL;
**** Is not a number. This only makes sense for IEEE real numbers. This class may need to be factored if we have non-IEEE real numbers at some point
log:SAME;
**** Logarithm of self
sin: NTP;
**** Return the sine of self
sqrt: NTP;
**** Return the square root of self

The Sather Home Page